from django.db import models


# Create your models here.
# 改一次model做一次迁移 python manage.py makemigrations
class List(models.Model):
    pass


class Item(models.Model):
    text = models.TextField(default='')
    list = models.ForeignKey(List, on_delete=models.CASCADE, default=None)
